/** When your routing table is too long, you can split it into small modules **/
import Layout from '@/layout';

// 路由模块化：活动管理中心路由
const AuditRoutes = [
    // {
    //     hidden: false,
    //     path: '/rateList',
    //     name: 'ApplicableRateList',
    //     component: () => import('@/views/store-management/applicable-rate/list'),
    //     meta: {
    //         title: '税率税码列表'
    //     }
    // },
    {
        hidden: true,
        path: '/audit',
        component: Layout,
        redirect: '/list',
        children: [
          {
            path: 'goodslist',
            component: () => import('@/views/audit-center/goods-audit/list'),
            name: 'GoodsAuditList',
            meta: {
              title: '商品审核',
              icon: 'el-icon-s-help'
            },
          },
          {
            path: 'supplierlist',
            component: () => import('@/views/audit-center/supplier-audit/list'),
            name: 'SuppliersAuditList',
            meta: {
              title: '供应商审核',
              icon: 'el-icon-s-help'
            }
          }
        //   {
        //     hidden: true,
        //     path: 'add/:id?',
        //     name: 'BannerManagementAdd',
        //     component: () => import('@/views/banner-management/comp/addimg'),
        //     meta: {
        //       title: '图片列表',
        //       activeMenu: '/banner',
        //       isNotCheckToken: true
        //     }
        //   }
        ]
    }
];

export default AuditRoutes;